package com.yincheng.oes.business.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Description 下载列表页文件实体
 * @Author 446948434@qq.com
 * @Date 2021/10/17 7:55 下午
 * @Version 1.0
 */
public class DownloadFileDTO {
    /**
     * 文件id
     */
    private String id;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8:00", pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DownloadFileDTO{" +
                "id='" + id + '\'' +
                ", fileName='" + fileName + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
